// pages/profile/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
        topheight: 0,
        showToastInfo: !1,
        totalHeight: 0,
        mybgImgUrl: "",
        actiontype: "lookforworker",
        userinfo: !1,
        showMiniLogin: !1,
        servicephone: "",
        ismanager: 0,
        departmentid: 0,
        is_parent: 0,
        worker: {
            mygrab: 0,
            myworking: 0,
            mystar: 0,
            starcomjobs: 0,
            starboss: 0,
            my_bm: 0,
            mywconfirm: 0,
            myunkgrab: 0,
            protect_count: 0
        },
        employer: {
          jobspriceconfirm: 0,
            jobsneedpay: 0,
            jobsneedcheck: 0,
            jobscount: 0,
            staruser: 0,
            jobsrecom: 0
        },
        redmoney: null,
        count: null,
        intmoney: null,
        comjobs_star_count: null,
        borrowing_count: null,
        myTopBg: "",
        mycenterBg: "",
        myActiveIcon: "",
        myActiveText: "",
        myBottomText: "",
        navigation: [],
        modalname: null,
        tempFilePath: "",
        is_company: 0,
        is_hot: ""
  },

  nav_to(e){
    const url = e.currentTarget.dataset.url
    wx.navigateTo({
      url: url,
    })
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {

  }
})